[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NOCLEAR
Function
Set the no clear input field flag in an INPUTSTR or PROMPTSTR statement.
Value
1024 = 10000000000b = 2000o = 400h
Remarks
The INPUTSTR and PROMPTSTR statements have the ability to automatically
clear the default value from the input field when the users presses his
first key if ANSI is available. This is the default mode of operations.
If you don't want this to happen, you may use this flag to disable
this feature.
Example
STRING cmds
LET cmds = "QUIT"
INPUTSTR "Commands",cmds,@X0E,60,MASK_ASCII(),STACKED+NOCLEAR
TOKENIZE cmds
LET cmds = GETTOKEN()
IF (cmds = "QUIT") END
KBDSTUFF cmds+TOKENSTR()
See Also:
INPUTSTR
PROMPTSTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson